package com.uzhie.web.dao;

import com.uzhie.web.module.WarningCollect;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 报警汇总
 */

public interface WarningCollectDAO extends Mapper<WarningCollect> {

    /**
     * 批量新增报警汇总信息
     * @param collects
     */
    void insertGroup(@Param("list") List<WarningCollect> collects);

    List<WarningCollect> queryByCondition(@Param("list")List<String> departId,@Param("category")String category,
                                          @Param("vehicleNumber")String vehicleNumber,@Param("driver")String driver,
                                          @Param("startTime")String startTime, @Param("endTime")String endTime,
                                          RowBounds rowBounds);
}
